package com.easyse.servicetechqa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.easyse.model.DO.techqa.Techqa;
import com.easyse.servicetechqa.service.TechqaService;
import com.easyse.servicetechqa.mapper.TechqaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 25405
* @description 针对表【share_techqa(技术问答表
)】的数据库操作Service实现
* @createDate 2022-10-23 20:02:13
*/
@Service
public class TechqaServiceImpl extends ServiceImpl<TechqaMapper, Techqa>
    implements TechqaService{

    @Autowired
    TechqaMapper techqaMapper;

    @Override
    public void updateType(Long id, int type) {
        techqaMapper.updateType(id, type);
    }

    @Override
    public void updateStatus(Long id, int status) {
        techqaMapper.updateStatus(id, status);
    }
}




